import { Routes, Route, Navigate, Outlet } from 'react-router-dom';
import ProductHome from './home';
import ProductAddUpdate from './add-update';
import ProductDetail from './detail';
import './product.less';

/* 商品管理模块组件（包含子路由） */
const Product = () => {
  return (
    <div >
      <Outlet /> {/* 父路由的布局容器，子路由在此渲染 */}

    </div>
  );
};

export default Product;